@charset "utf-8";

.right-side{
  height: 100%;
  width: 39px;
  position: fixed;
  top: 0;
  right: 0;
  background: rgba(255, 255, 255,0.7);
  z-index: 8;
  transition: right .2s;
  a:hover div{
    display: block !important;
  }
  .right-middle-box{
    width: 100%;
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform: translateX(-50%);
    >a{ 
      display: block;
      width: 100%;
      text-align: center;
      transition: all .5s;
      position: relative;
      &:hover{
        background: #f0f0f0;
      }
      .right-hover-box{
        background: #fff;
        border-radius: 2px;
        bottom: 0;
        box-shadow: 0 0 4px 0 rgb(0 0 0 / 50%);
        color: #333;
        display: none;
        font-size: 12px;
        position: absolute;
        right: 100%;
        text-align: center;
        width: 80px;

        &:hover{
          background: #eee;
        }
      }
      .item-text{
        height: 30px;
        line-height: 30px;
        width: 80px;
      }
      .wx{
        width: 110px;
        position: absolute;
        right: 100%;
        background: #fff;
        .item-text{
          font-size: 14px;
        }
      }
      .iconfont{
        font-size: 24px;
        color: #999;
      }
      
    }
  }
  .right-bottom-box{
    position: absolute;
    bottom: 170px;
    width: 100%;
    text-align: center;
    .backtop{
      transition: all 0.3s;
      transform-origin:top;
      transform: scaleY(0);
    }
    >a{
      display: block;
      height: 36px;
      line-height: 36px;
      width: 100%;
      position: relative;
      margin-bottom: 10px;  
      &:hover{
        background: #f0f0f0;
      }
    }
    .right-hover-box{
      position: absolute;
      left: -80px;
      top: 3px;
      display: none;
      color: #999;
      // border: 1px solid #999;
      box-shadow: 0 0 3px #333;
      height: 30px;
      .item-text{
        display: block;
        height: 30px;
        line-height: 30px;
        padding: 0 10px;
      }
    }
    .iconfont{
      color: #999;
    }
  }

  .right-coupon-box{
    background: #F0F0F0;
    bottom: 0;
    left: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: absolute;
    top: 0;
    width: 240px;
    .top-bar-placeholder{
      height: 40px
    }
    .right-coupon-box-title{
      background: url(../../images/youhuiquan.png) center center no-repeat;
      height: 67px;
      padding: 20px 10px;
      position: relative;
      &::before{
        background: #333;
        content: '';
        height: 1px;
        margin-top: -0.5px;
        position: absolute;
        top: 50%;
        width: 75px;
        left: 0;
      }
      .iconfont{
        cursor: pointer;
        height: 32px;
        position: absolute;
        right: -5px;
        top: -5px;
        width: 32px;
        
      }
      &::after{
        background: #333;
        content: '';
        height: 1px;
        margin-top: -0.5px;
        position: absolute;
        top: 50%;
        width: 75px;
        right: 0;
      }
    }
    .coupon-list{
      margin-top: -2px;
      padding: 0 10px;
    }
    .coupon-item{
      background: url("../../images/rside.png") no-repeat;
      box-sizing: border-box;
      font-size: 12px;
      height: 155px;
      margin-bottom: 10px;
      position: relative;
      width: 220px;
      .c-item-label{
        background-position: 0 0;
        background-repeat: no-repeat;
        color: #fff;
        font-weight: 400;
        font-size: 12px;
        height: 25px;
        left: -5px;
        line-height: 20px;
        position: absolute;
        text-align: center;
        top: 10px;
        width: 68px;
        z-index: 5;
        background-size: 68px 130px;
        background-image: url("../../images/t010be8e7cf48374c86.png");
      }
      .c-item-tag{
        font-size: 12px;
      }
      .c-item-tag-vip{
        background: #271B14;
    color: #FFD764;
      }
    }
  }
    .coupon-item-right{
      cursor: pointer;
      float: right;
      height: 100%;
      text-align: center;
      width: 52px;
      b{
        color: #fff;
        display: inline-block;
        font-size: 14px;
        font-weight: 400;
        line-height: 20px;
        margin-top: 36px;
        width: 14px;
      }
    }
    .coupon-item-content{
      overflow: hidden;
      padding: 10px;
    }
    .coupon-item-price{
      font-size: 0;
      line-height: 1;
      margin-top: 28px;
    }
    .coupon-item-num{
      color: #F02C1E;
      font-size: 30px;
      font-weight: 700;
      b{
        font-family: arial;
        font-size: 14px;
        font-weight: 400;
      }
    }
    .coupon-item-desc{
      font-size: 12px;
      margin-top: 3px;
      white-space: nowrap;
    }
    .coupon-item-intro{
      -webkit-box-orient: vertical;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-height: 18px;
      margin-top: 6px;
      max-height: 36px;
      overflow: hidden;
      color: #9B9B9B;
    }
    .coupon-item-time{
      margin-top: 3px;
      color: #9B9B9B;
    }
  }

.g-coupon-item{
  color: #313336;
  position: relative;
  width: 455px;
  .c-item-tag{
    background: #FF9F00;
    border-radius: 2px;
    color: #FFF;
    display: inline-block;
    font-size: 14px;
    line-height: 1;
    padding: 2px 5px;
    position: relative;
    top: -1PX;
    vertical-align: middle;
  }
}
.open{
  right: 240px;
}